package com.gugee.ins.common.model.mysql.comment;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "ins_comment")
@Data
public class InsComment {
    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private Long id;

    /**
     * 评论人的uid
     */
    @TableField(value = "c_uid")
    private Long cUid;

    /**
     * 帖子所有者的uid
     */
    @TableField(value = "m_uid")
    private Long mUid;

    /**
     * 帖子编码
     */
    private String shortcode;

    /**
     * 内容
     */
    private String text;

    /**
     * 评论创建时间
     */
    @TableField(value = "created_at")
    private Long createdAt;

    /**
     * 活跃天
     */
    @TableField(value = "week_day")
    private Integer weekDay;

    /**
     * 活跃小时
     */
    @TableField(value = "day_hours")
    private Integer dayHours;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;
}